package com.grademaster.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.grademaster.entity.User;
import com.grademaster.vo.UserVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
* @author Administrator
* @description 针对表【user】的数据库操作Mapper
* @createDate 2024-06-24 20:32:54
* @Entity generator.domain.User
*/
@Mapper
public interface UserMapper extends BaseMapper<User> {
    /**
     * 根据用户id查询用户信息
     * @param userId
     * @return
     */
    UserVO getUserDetails(@Param("userId") Long userId);

}




